package com.tpu.bdclasses;
/**
 * @hibernate.class table="kof"  
 */
public class KindOfTicket {
	private int kot_id;
	private String valueKindOfTicket;
	private int price;
	private Ticket ticket;
	
	public KindOfTicket(int kot_id, String valueKindOfTicket, int price,
			Ticket ticket) {
		super();
		this.kot_id = kot_id;
		this.valueKindOfTicket = valueKindOfTicket;
		this.price = price;
		this.ticket = ticket;
	}

	public KindOfTicket(){}
	
	public Ticket getTicket() {
		return ticket;
	}
	public void setTicket(Ticket ticket) {
		this.ticket = ticket;
	}
	/**
	 * @hibernate.id generator-class="native" column="id"
	 */
	public int getKot_id() {
		return kot_id;
	}
	public void setKot_id(int kot_id) {
		this.kot_id = kot_id;
	}
	/**
     * @hibernate.property column="tickettipe"
     */
	public String getValueKindOfTicket() {
		return valueKindOfTicket;
	}
	public void setValueKindOfTicket(String valueKindOfTicket) {
		this.valueKindOfTicket = valueKindOfTicket;
	}
	/**
     * @hibernate.property column="price"
     */
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	

}
